package com.niubility.server;

import com.niubility.entity.Datas;

import java.util.List;

public interface IDataServer {
    public List<Datas> LoadAll(int start, int num, String type);
    public boolean Save(Datas dep);
    public boolean Delete(int id);
    public Datas select(int id);
    public int PageNumByType(int num, String daMark);
    public boolean Auto(int id);
    public int LastInsertId();
    public List<Datas> LoadHot(int num);
}
